<!--// 목록형 출력 -->
<!--@if($widget_info->markup_type=="list")-->
    {@$have_first_thumbnail=false}
    <!--@if(count($widget_info->content_items) && $widget_info->content_items[0]->haveFirstThumbnail())-->
        {@$thumbnail_idx = $widget_info->content_items[0]->getFirstThumbnailIdx() }
        {@$have_first_thumbnail=true}
        <p class="widgetThumb floatLeft" style="margin-right:-{$widget_info->thumbnail_width}px">
            <a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb" target="_blank"|cond="$widget_info->new_window"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
        </p>
    <!--@end-->

    <div<!--@if($have_first_thumbnail)--> style="padding-left:{$widget_info->thumbnail_width+10}px"<!--@end-->>
        <ul class="widgetA">
    {@$_idx=0}
    <!--@foreach($widget_info->content_items as $key => $item)-->
            <li<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
                <!--@foreach($widget_info->option_view_arr as $k => $v)-->
                <!--@if($v=='title')-->
                    <!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
                        <a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}" class="board" target="_blank"|cond="$widget_info->new_window"><strong>{$item->getBrowserTitle()}</strong></a>
                    <!--@end-->

                    <!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
                        <a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
                    <!--@end-->

                    <a href="{$item->getLink()}" target="_blank"|cond="$widget_info->new_window">{$item->getTitle($widget_info->subject_cut_size)}</a>

                    <!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
                        <em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></em>
                    <!--@end-->

                    <!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
                        <em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></em>
                    <!--@end-->

                    <!--@if($widget_info->show_icon=='Y')-->
                        <span class="icon">{$item->printExtraImages()}</span>
                    <!--@end-->
                <!--@else if($v=='nickname')-->
                    <a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a>
                <!--@else if($v=='regdate')-->
                    <span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
                <!--@end-->
                <!--@end-->
            </li>
    {@$_idx++}
    <!--@end-->
        </ul>
    </div>

    <!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
        <ul class="widgetNavigator">
            <li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
            <li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
        </ul>
    <!--@end-->

<!--// 테이블형 출력 -->
<!--@else-->
    {@$have_first_thumbnail=false}
    <!--@if(count($widget_info->content_items) && $widget_info->content_items[0]->haveFirstThumbnail())-->
        {@$thumbnail_idx = $widget_info->content_items[0]->getFirstThumbnailIdx() }
        {@$have_first_thumbnail=true}
        <p class="widgetThumb floatLeft" style="margin-right:-{$widget_info->thumbnail_width}px">
            <a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb" target="_blank"|cond="$widget_info->new_window"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
        </p>
    <!--@end-->

    <div<!--@if($have_first_thumbnail)--> style="padding-left:{$widget_info->thumbnail_width+10}px"<!--@end-->>
        <table class="widgetTableA" border="1" cellspacing="0">
            <tbody>
    {@$_idx=0}
    <!--@foreach($widget_info->content_items as $key => $item)-->
            <tr<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
    <!--@foreach($widget_info->option_view_arr as $k => $v)-->
        <!--@if($v=='title')-->
            <td class="title">

                <!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
                    <a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}" target="_blank"|cond="$widget_info->new_window"><strong class="board">{$item->getBrowserTitle()}</strong></a>
                <!--@end-->

                <!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
                    <a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}" target="_blank"|cond="$widget_info->new_window"><strong class="category">{$item->getCategory()}</strong></a>
                <!--@end-->

                <a href="{$item->getLink()}" target="_blank"|cond="$widget_info->new_window">{$item->getTitle($widget_info->subject_cut_size)}</a>

                <!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
                    <em class="replyNum" title="Replies"><a href="{$item->getLink()}#comment" target="_blank"|cond="$widget_info->new_window">{$item->getCommentCount()}</a></em>
                <!--@end-->

                <!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
                    <em class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback" target="_blank"|cond="$widget_info->new_window">{$item->getTrackbackCount()}</a></em>
                <!--@end-->

                <!--@if($widget_info->show_icon=='Y')-->
                    <span class="icon">{$item->printExtraImages()}</span>
                <!--@end-->
            </td>
        <!--@else if($v=='nickname')-->
            <td><a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a></td>
        <!--@else if($v=='regdate')-->
            <td class="time"><span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span></td>
        <!--@end-->
    <!--@end-->
            </tr>
    {@$_idx++}
    <!--@end-->
            </tbody>
        </table>
    </div>

    <!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
        <ul class="widgetNavigator">
            <li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
            <li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
        </ul>
    <!--@end-->
<!--@end-->
